package com.example.trb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.trb.validation.DateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer userId;
    private String sex;
    private String nation;
    private String idCardNumber;
    private String birthday;
    private String department;
    private String politicalAppearance;
    private String personalStatus;
    private String phoneNumber;
    private String email;
    private String idCardFrontPhoto;
    private String idCardReversePhoto;
    private String origin;
    private String address;
    private String twoInchPhoto;
    private String executive;
}
